vcCommandPanelButton
Interface for a button to display in the command panel.
See in: Overview
Module: vcCore
Parent: vcObject
Children -
Referenced by: vcCommandPanel.Buttons, vcCommandPanel.createButton()
Properties
Learn how to use properties here. The properties are also inherited from the parent class.
| Name | Type | Access | Description |
| IsEnabled | Boolean | RW | Gets or sets value defining if the button is enabled. |
| IsVisible | Boolean | RW | Gets or sets value defining if the button is visible. |
| Text | String | RW | Gets or sets text to display in the button. |
Methods
Learn how to use methods here. The methods are also inherited from the parent class.
| Name | Return Type | Parameters | Description |
| setOnClick | None | Callable OR None clickHandler | Sets the function to execute when the button is pressed.See moreParameters: function (callable): The function to call when the button is pressed. By default, the command panel is closed after this function is called. Optionally, return False to indicate that the panel should remain open. |